Two Parametricities Versus Three Universal Types

نویسندگان

چکیده

The formal calculus System F models the essence of polymorphism and abstract data types, features that exist in many programming languages. calculus’ core property is parametricity: a theorem expressing language’s abstractions validating important principles like information hiding modularity. When combined with recursive mutable state, continuations or exceptions, formulation parametricity needs to be adapted follow suit, for example using techniques step-indexing, Kripke world-indexing biorthogonality. However, it less clear how this should change when untyped languages, gradual dynamic sealing runtime type analysis (typecase) alongside generation. Extensions these have been proven satisfy forms (with worlds carrying semantic interpretations types). relative power modified formulations respect others expressiveness without extensions are unknown. In paper, we explain aforementioned different settings common characteristic: they do not enforce preserve lexical scope F’s variables. Formally, results existence universal (note: same as universally-quantified type). We why standard incompatible such resolve this. Building on insights, answer two open conjectures from literature, negatively, point out deficiency current proposals combining types.

برای دانلود باید عضویت طلایی داشته باشید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

On two letters versus three

If A is a context-free language over a two-letter alphabet, then the set of all words obtained by sorting words in A and the set of all permutations of words in A are context-free. This is false over alphabets of three or more letters. Thus these problems illustrate a difference in behavior between twoand three-letter alphabets. The following problem appeared on a recent exam at Cornell: Let be...

متن کامل

Sexual Dysfunction in Two Types of Hormonal Contraception: Combined Oral Contraceptives versus Depot Medroxyprogesterone Acetate

Background & aim: Sexual health is an essential element of quality of life, affecting both physical and psychological domains. Hormones used in contraceptive methods have contradictory effects on sexual function. In this study, we aimed to compare sexual function in women using combined oral contraceptives (COC) and depot medroxyprogesterone acetate (DMPA), referred to healthcare centers affili...

متن کامل

Universal quantum computation with two- and three-qubit projective measurements

We present a finite set of projective measurements that, together with quantum memory and preparation of the |0〉 state, suffice for universal quantum computation. This extends work of Nielsen [Nie01], who proposed a scheme in which an arbitrary unitary operation on n qubits can be simulated using only projective measurements on at most 2n qubits. All measurements in our set involve two qubits, ...

متن کامل

Flux detectors versus concentration detectors: two types of chemoreceptors.

Dose-response curves relating the external stimulus concentration to receptor occupancy differ in two types of chemoreceptor organs. In 'concentration detectors' the receptor molecules at the receptor cell membrane are directly exposed to the external stimulus concentration; these organs exhibit the well-known hyperbolic dose-response relationship reflecting the association-dissociation of stim...

متن کامل

Microleakage comparison of three types of adhesive systems versus GIC-based adhesive in class V composite restorations

Background and aims: New dentin bonding agents and techniques have been developed to reduce microleakage and create higher bond strength. This in-vitro study compared the microleakage of three resin-based adhesives versus a GIC-based adhesive on class V composite restorations.  Materials and Methods: Class V cavities were prepared on the buccal surfaces of 72 sound premolars, randomly assigned ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

ژورنال

عنوان ژورنال: ACM Transactions on Programming Languages and Systems

سال: 2022

ISSN: ['1558-4593', '0164-0925']

DOI: https://doi.org/10.1145/3539657